﻿namespace IDAL
{
    public interface IShopDAL<T>
    {
        Task<int> AddShopAsync(T t);
        Task<int> AddShopRangeAsync (List<T> list);
        Task<int> UpdateShopAsync(T t);
        Task<int> UpdateShopRangeAsync(List<T> list);
        Task<int> DeleteShopAsync(T t);
        Task<int> DeleteShopRangeAsync(List<T> list);
        IQueryable<T> GetAllShopAsync();
    }
}
